package com.send;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.ImportResource;

import com.alibaba.dubbo.config.annotation.Reference;
import com.send.api.IQueue;
import com.send.config.EmailConfig;

@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
@ImportResource("beans.xml")
public class ClientApplication implements CommandLineRunner {
	
	@Reference(check=false)
	IQueue iqueue; 
	
	public static void main(String[] args) {
		SpringApplication.run(ClientApplication.class, args);
	}

	@Override
	public void run(String... args) throws Exception {
		// TODO Auto-generated method stub
		
	}


}

